package cmms.home.vo;

import java.sql.Timestamp;

public class PointVO {
	//状态：-1  未连接
	public final static short STATE_NOCONNECT = 0; 
	//状态：0  正常
	public final static short STATE_OK = 1; 
	//状态：1 告警
	public final static short STATE_WARNING = 2; 
	//状态：2 错误
	public final static short STATE_ERROR = 3; 
	
	// ID
	private long id;
	// 更新时间
	private Timestamp updateTime;
	
	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	private int intX;

	private int intY;
	// 状态
	private int state = 0;
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public int getIntX() {
		return intX;
	}

	public void setIntX(int intX) {
		this.intX = intX;
	}

	public int getIntY() {
		return intY;
	}

	public void setIntY(int intY) {
		this.intY = intY;
	}
}
